<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ include file="/WEB-INF/views/include.inc.jsp"%>
<a id="refreshJbsxBox2organizationTree" rel="jbsxBox2organizationTree" target="ajax" href="${request.contextPath}/management/security/organization/tree" style="display:none;"></a>
<div class="pageContent">
	<form method="post" action="${contextPath }/management/security/organization/create" class="required-validate pageForm" onsubmit="return validateCallback(this, dialogReloadRel2Org);">
		<input type="hidden" name="parent.id" value="${parentOrganizationId }"/>
		<div class="pageFormContent" style="overflow-x:hidden;" layoutH="58">
			<p>
				<label>名称：</label>
				<input type="text" name="name" class="input-medium validate[required,maxSize[64]] required" maxlength="64"/>
			</p>
			<p>
				<label>二字码：</label>
				<input type="text" name="airlines" class="input-medium validate[required,maxSize[8]] required" maxlength="8"/>
			</p>		
			<p>
				<label>优先级：</label>
				<input type="text" name="priority" class="validate[required,custom[integer],min[1],max[999]] required" value="999" maxlength="3" style="width: 80px;"/>
				<span class="info">（越小越靠前）</span>
			</p>				
			<p class="nowrap">
				<label>描述：</label>
				<textarea name="description" cols="29" rows="3" maxlength="256" class="input-medium textarea-scroll"></textarea>
			</p>	
		</div>
				
		<div class="formBar">
			<ul>
				<li><div class="button"><div class="buttonContent"><button type="submit">确定</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
			</ul>
		</div>
	</form>
</div>